﻿namespace OrderingFoot.Core
{
    /// <summary>
    /// 通用静态数据
    /// </summary>
    internal static class CommonData
    {
        /// <summary>
        /// 唯一机器码，大小由机器码决定；2^WorkerBitLength - 1
        /// </summary>
        public static ushort WorkId = 1;

        /// <summary>
        /// 机器码位数；1-128
        /// </summary>
        public static byte WorkerBitLength = 6;

        /// <summary>
        /// 链路追踪ID
        /// </summary>
        public static string TraceKey = "TraceId";
    }
}
